package designpattern.adapter.order;

import designpattern.adapter.order.domain.OrderInfo;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 刘牌
 * @Date: 2021/12/20/15:12
 * @Description:
 */
public class OrderServiceImpl implements IOrderService{
    @Override
    public String saveOrder(OrderInfo orderInfo) {
        return "save success";
    }

    @Override
    public String placeAnOrder(OrderInfo orderInfo) {
        return saveOrder(orderInfo);
    }
}
